::
:: This file is part of the OdinMS Maple Story Server
:: Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc>
::                    Matthias Butz <matze@odinms.de>
::                    Jan Christian Meyer <vimes@odinms.de>
::
:: This program is free software: you can redistribute it and/or modify
:: it under the terms of the GNU Affero General Public License version 3
:: as published by the Free Software Foundation. You may not use, modify
:: or distribute this program under any other version of the
:: GNU Affero General Public License.
::
:: This program is distributed in the hope that it will be useful,
:: but WITHOUT ANY WARRANTY; without even the implied warranty of
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
:: GNU Affero General Public License for more details.
::
:: You should have received a copy of the GNU Affero General Public License
:: along with this program.  If not, see <http://www.gnu.org/licenses/>.
::

@echo off
@title MrStory World 1 Server
set CLASSPATH=.;dist\MrStory.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar;dist\jpcap.jar
java -Xmx600m -Dserver.recvops=recvops.properties ^
-Dserver.sendops=sendops.properties ^
-Dserver.wzpath=wz\ ^
-Dserver.world=1 ^
-Dserver.config=server.properties ^
-Djava.util.logging.config.file=logging.properties ^
-Djavax.net.ssl.keyStore=channel.keystore ^
-Djavax.net.ssl.keyStorePassword=passwd ^
-Djavax.net.ssl.trustStore=channel.truststore ^
-Djavax.net.ssl.trustStorePassword=passwd ^
org.communication.ChannelServer ^
-Dcom.sun.management.jmxremote.port=13373 ^
-Dcom.sun.management.jmxremote.password.file=jmxremote.password ^
-Dcom.sun.management.jmxremote.access.file=jmxremote.access
pause